<?php
$showPage = false;

if($authority->getAuthority("fb_pages",$_SESSION['id']))
{
	$showPage = true;
}


 $pageListArray = $facebook->fql('SELECT page_id, name, fan_count, type, company_overview FROM page WHERE page_id IN ( SELECT page_id FROM page_admin WHERE uid=me() )');
  
 
 include "template/fb_pages.php";
   
?>